package edu.hm.devcamp.providers;

import android.net.Uri;
import android.provider.BaseColumns;

/**
 * POI helper class for the POI provider
 * @author Marco
 *
 */
public final class Pois implements BaseColumns {
	private Pois() {

	}
	/**
	 * Mapping of category enums to mux.de category names
	 * @author Marco
	 *
	 */
	static public enum categories {
		library { public String toString() { return "Bibliothek"; } },
		culturalCenter { public String toString() { return "kulturelle-Zentren"; } },
		recycleSmall { public String toString() { return "Wertstoffinsel"; } },
		recycleCenter { public String toString() { return "Wertstoffhof-Sperrmuell"; } },
		toilet { public String toString() { return "Toilette"; } },
		playground { public String toString() { return "Kinderspielplatz"; } },
		taxiStop { public String toString() { return "Taxizentrale-Taxistand"; } }
	}
	public static final Uri CONTENT_URI=Uri.parse("content://"+PoiProvider.AUTHORITY+"/");
	public static final String CONTENT_TYPE="vnd.edu.hm/vnd.devcamp.poi";

	/* table names */
	public static final String POI_ID = "_id";
	public static final String SOURCE = "source";
	public static final String CATEGORY = "cat";
	public static final String NAME = "name";
	public static final String DESC = "desc";
	public static final String STREET = "street";
	public static final String STREETNUM = "streetnum";
	public static final String ZIPCODE = "zipcode";
	public static final String CITY = "city";
	public static final String COORD_LON = "lon";
	public static final String COORD_LAT = "lat";
	public static final String URL = "url";
	public static final String EXTERNAL_ID = "external_id";
	public static final String OPENING_TIMES = "opening_times";
}
